package com.alks.function.data.request.stockdept.pcfactorystockwork;

import com.alks.entity.data.page.PageParam;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDate;

/**
 * @author: chen
 * @date: 2024/11/14
 * @description: 成品库存明细报表查询参数
 */
@Data
@ApiModel(value = "成品库存明细报表查询参数")
public class ReportInStockQueryRequest extends PageParam {

    // 排序字段
    public static String[] ORDER_FIELDS = {"lotNo", "custom", "orderQty", "orderDate", "deliveryDate", "sktQty"};

    @ApiModelProperty(value = "指令号")
    private String lotNo;

    @ApiModelProperty(value = "客户")
    private String custom;

    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "下单日期开始时间")
    private LocalDate orderBeginTime;

    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "下单日期结束时间")
    private LocalDate orderEndTime;

    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "客户交期开始时间")
    private LocalDate deliveryBeginTime;

    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "客户交期结束时间")
    private LocalDate deliveryEndTime;

    @ApiModelProperty(value = "排序")
    private String orderParam;
}
